import request from '@/utils/request'

// 查询联系人信息
export function pageList(data) {
    return request({
      url: '/student/call/getCallQuotaList',
      method: 'post',
      data
    })
}

export function deleteInfo(ids) {
    return request({
      url: '/student/call/deleteByIds/' + ids,
      method: 'delete',
    })
}

// 下载通话额度导入模板
export function importTemplate() {
    return request({
      url: '/student/call/importTemplate',
      responseType:'blob',
      method: 'get'
    })
  }

//新增或修改联系人信息
export function addStudentCallQuotaInfo(data) {
    return request({
      url: '/student/call/saveCallQuota',
      method: 'post',
      data
    })
}